﻿using Prism.Mvvm;
using Prism.Services.Dialogs;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace JES.ViewModels
{
    public class LabListViewModel : BindableBase, IDialogAware
    {
        public string Title => "List";

        public event Action<IDialogResult> RequestClose;

        private ObservableCollection<CurrentAlarm> _infos;
        /// <summary>
        /// 主题列表
        /// </summary>
        public ObservableCollection<CurrentAlarm> Infos
        {
            get { return _infos; }
            set { SetProperty(ref _infos, value); }
        }

        public bool CanCloseDialog()
        {
            return true;
        }

        public void OnDialogClosed()
        {
           
        }

        public void OnDialogOpened(IDialogParameters parameters)
        {
           
        }
    }
}
